﻿Public Class SachDTO
    Private _MaSach As Integer
    Private _MaTheLoai As Integer
    Private _MaTacGia As Integer
    Private _TenSach As String
    Private _GiaBan As Integer
    Private _SoLuongTon As Integer

    Public Property MaSach() As Integer
        Get
            Return _MaSach
        End Get
        Set(ByVal value As Integer)
            _MaSach = value
        End Set
    End Property

    Public Property MaTheLoai() As Integer
        Get
            Return _MaTheLoai
        End Get
        Set(ByVal value As Integer)
            _MaTheLoai = value
        End Set
    End Property

    Public Property MaTacGia() As Integer
        Get
            Return _MaTacGia
        End Get
        Set(ByVal value As Integer)
            _MaTacGia = value
        End Set
    End Property
    Public Property TenSach() As String
        Get
            Return _TenSach
        End Get
        Set(ByVal value As String)
            _TenSach = value
        End Set
    End Property

    Public Property GiaBan() As Integer
        Get
            Return _GiaBan
        End Get
        Set(ByVal value As Integer)
            _GiaBan = value
        End Set
    End Property
    Public Property SoLuongTon() As Integer
        Get
            Return _SoLuongTon
        End Get
        Set(ByVal value As Integer)
            _SoLuongTon = value
        End Set
    End Property

End Class
